package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.MedicalInstitution;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 医疗机构表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-04-17
 */
public interface MedicalInstitutionService extends IService<MedicalInstitution> {
    Page<MedicalInstitution> getMedicalInstitutionPage(int current,int size,String institutionName);
    MedicalInstitution getMedicalInstitutionByInstitutionName(String institutionName);

    MedicalInstitution getMedicalInstitutionByInstitutionCode(String institutionCode);

    Page<MedicalInstitution> queryMedicalInstitutions(MedicalInstitution queryMedicalInstitution, int current, int size);

    //获取医疗机构数量
    long getMedicalInstitutionCount();
}
